package com.kanshu.ksgb.fastread.doudou.module.personal.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class AccountInfo implements Parcelable {

    public String account_balance;
    public String beans_balance;
    public String rmb_balance;
    public int unlock ;

    public AccountInfo() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.account_balance);
        dest.writeString(this.beans_balance);
        dest.writeString(this.rmb_balance);
        dest.writeInt(this.unlock);
    }

    protected AccountInfo(Parcel in) {
        this.account_balance = in.readString();
        this.beans_balance = in.readString();
        this.rmb_balance = in.readString();
        this.unlock = in.readInt();
    }

    public static final Creator<AccountInfo> CREATOR = new Creator<AccountInfo>() {
        @Override
        public AccountInfo createFromParcel(Parcel source) {
            return new AccountInfo(source);
        }

        @Override
        public AccountInfo[] newArray(int size) {
            return new AccountInfo[size];
        }
    };
}
